# -*- coding: utf-8 -*-
#

import logging
import logging.config
import unittest
import sys
sys.path.append("../../")

from sippeer.framework.sipsession.sipaccount import SIPAccount

logging.config.fileConfig("../config/logging.conf")
logger = logging.getLogger("testsipaccount")


class TestSIPAccount(unittest.TestCase):
    
    def testInit(self):
        
        sip = SIPAccount("siptest001", "123456")
        sip.config("211.100.17.183", 8080)
        sip.start()
        
if __name__ == "__main__":
    unittest.main()
        